package controller;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import services.ThemeBiz;

@Controller
public class ThemeAction {

	@Autowired
	ThemeBiz themeBiz;
	
	@RequestMapping("allTheme")	
	public String test1(HttpSession session){

		session.setAttribute("allTheme", themeBiz.getAll());
		return "fatie.jsp";
	}
}
